package com.ntd.study.modular.hutool;

import cn.hutool.core.io.FileUtil;
import cn.hutool.core.lang.Console;

import java.io.File;
import java.util.List;

public class StudyIO {
    public static void main(String[] args) {
        final List<File> files = FileUtil.loopFiles(FileUtil.file("D://"), 1, file -> !file.isDirectory());
        files.forEach(file -> {
            Console.log(file.getPath());
        });
        Console.log(files);
    }
}
